package org.hhttp.core;

import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.Serializable;

import org.apache.log4j.Logger;

public interface Response extends Serializable ,PoolObject{

	static Logger logger = Logger.getLogger(Response.class);
	
	public OutputStream getOutputStream();

	public void write() ;
	
	public void setOutputStream(OutputStream outputStream);
	
	public void setSetCookie(Cookie setCookie);
	
	public void putCookie(String key,String value);
	
	public void setPath(String path);
	
	public PrintWriter getPrintWriter();

}
